home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Shareware World / Utilities / Data & Time / BlackWatch 1.5.1 / For programmers / Read Me
Encoding:
Text File  |  1999-11-14  |  1023 b   |  8 lines  |  [TEXT/ttxt]

  1. TestGestalt
  2. -----------
  3. This folder contains example C source code and a CodeWarrior 4 project for building a test tool (creatively named "TestGestalt") that controls screen saver functions.
  4.  
  5. BlackWatch installs two Gestalt selectors, 'SAVR' (screen saver attributes) and 'SAVC' (screen saver control). These selectors can be queried by any application to determine if a screen saver is running, and to provide a method of programmatic screen saver control. This method was first implemented by Berkeley Systems, Inc. in its After Dark screen saver. It has since become a de facto standard, supported by many commercial and shareware screen savers on the Macintosh platform.
  6.  
  7. In addition to the After Dark-defined commands, BlackWatch defines an additional command to put the screen saver into "deep sleep" mode, in which it can only be awakened by a gestaltSaverWakeUp or gestaltSaverOff command. This is useful for locking the screen until some additional authentication (provided by your application) has been provided.
  8.